Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Oct 2, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR focuses on enhancing the Analytics functionality in the dashboard by updating the API key management and connecting analytics components. It introduces new components and refactors existing ones for better type safety and user experience.

Detailed summary

  • Removed DashboardConnectAnalytics constant.
  • Added AnalyticsPageAPIKeysMenu component for selecting API keys.
  • Updated ApiKeysMenu to use a generic type for better flexibility.
  • Implemented a new Page component for handling authentication and API key redirection.
  • Created a NoKeysCreatedPage to inform users when no API keys are available.

The following files were skipped due to too many changes: apps/dashboard/tsconfig.tsbuildinfo

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 18:54 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 18:54 Inactive
@vercel
Copy link

vercel bot commented Oct 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 3, 2024 8:27pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Oct 3, 2024 8:27pm
thirdweb_playground ⬜️ Skipped (Inspect) Oct 3, 2024 8:27pm
wallet-ui ⬜️ Skipped (Inspect) Oct 3, 2024 8:27pm

@changeset-bot
Copy link

changeset-bot bot commented Oct 2, 2024

⚠️ No Changeset found

Latest commit: 615dd1e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 18:54 Inactive
@MananTank MananTank marked this pull request as ready for review October 2, 2024 18:54
Copy link
Member Author

MananTank commented Oct 2, 2024

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Oct 2, 2024
@codecov
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.61%. Comparing base (7cd39f0) to head (615dd1e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4893   +/-   ##
=======================================
  Coverage   47.61%   47.61%           
=======================================
  Files        1057     1057           
  Lines       57221    57221           
  Branches     3924     3924           
=======================================
  Hits        27246    27246           
  Misses      29286    29286           
  Partials      689      689           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 7cd39f0
packages 43.37% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@jnsdls jnsdls force-pushed the 10-03-add_billing_alerts_on__connect_layout_in_app_router branch from 0c31e82 to e712138 Compare October 2, 2024 18:57
@jnsdls jnsdls force-pushed the 10-03-move__connect_analytics_to_app_router branch from c119272 to 4aeeb94 Compare October 2, 2024 18:57
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 18:57 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 18:57 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 18:57 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.95 KB (0%) 840 ms (0%) 256 ms (+167.24% 🔺) 1.1 s
thirdweb (cjs) 101.63 KB (0%) 2.1 s (0%) 267 ms (+21.93% 🔺) 2.3 s
thirdweb (minimal + tree-shaking) 4.82 KB (0%) 97 ms (0%) 76 ms (+525.23% 🔺) 173 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 55 ms (+2688.1% 🔺) 65 ms
thirdweb/react (minimal + tree-shaking) 17.23 KB (0%) 345 ms (0%) 110 ms (+434.3% 🔺) 455 ms

@MananTank MananTank force-pushed the 10-03-move__connect_analytics_to_app_router branch from 4aeeb94 to f95fa52 Compare October 2, 2024 19:02
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 2, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 19:02 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 19:02 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 19:02 Inactive
@MananTank MananTank force-pushed the 10-03-move__connect_analytics_to_app_router branch from f95fa52 to f20b046 Compare October 2, 2024 19:11
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 2, 2024 19:11 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 2, 2024 19:11 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 2, 2024 19:11 Inactive
@MananTank MananTank force-pushed the 10-03-move__connect_analytics_to_app_router branch from e34b9f4 to 82ed00b Compare October 3, 2024 19:11
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 3, 2024 19:11 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 3, 2024 19:11 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 3, 2024 19:11 Inactive
@MananTank MananTank force-pushed the 10-03-move__connect_analytics_to_app_router branch from 82ed00b to 2470eac Compare October 3, 2024 19:19
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 3, 2024 19:19 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 3, 2024 19:19 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 3, 2024 19:19 Inactive
@MananTank MananTank force-pushed the 10-03-move__connect_analytics_to_app_router branch from 2470eac to b70a030 Compare October 3, 2024 20:09
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground October 3, 2024 20:09 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 October 3, 2024 20:09 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui October 3, 2024 20:09 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 3, 2024

Merge activity

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `Analytics` section of the dashboard by introducing a new `AnalyticsPageAPIKeysMenu`, updating the `ApiKeysMenu` component to use a more generic type, and improving the handling of API keys for better user experience.

### Detailed summary
- Removed `DashboardConnectAnalytics` from constants.
- Added `AnalyticsPageAPIKeysMenu` to manage API keys.
- Updated `ApiKeysMenu` to use a generic type for `apiKeys`.
- Modified selection logic in `ApiKeysMenu` to use `key` instead of `id`.
- Enhanced page redirection logic based on API keys availability.

> The following files were skipped due to too many changes: `apps/dashboard/tsconfig.tsbuildinfo`

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@MananTank MananTank force-pushed the 10-03-move__connect_analytics_to_app_router branch from b70a030 to 615dd1e Compare October 3, 2024 20:23
@graphite-app graphite-app bot merged commit 615dd1e into main Oct 3, 2024
26 checks passed
@graphite-app graphite-app bot deleted the 10-03-move__connect_analytics_to_app_router branch October 3, 2024 20:27
@vercel vercel bot temporarily deployed to Production – thirdweb_playground October 3, 2024 20:27 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui October 3, 2024 20:27 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 October 3, 2024 20:27 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants